package main

import (
	"ego/eredis"
	"fmt"
	"github.com/garyburd/redigo/redis"
)

//redigo send
func main() {
	c:=eredis.RedigoConn()

	c.Send("get","ll")
	c.Flush()
	val,err:=redis.String(c.Receive())//reply form get
	if err !=nil{
		fmt.Println(err)
	}else {
		fmt.Println(val)
	}

	eredis.Close()
}
